package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.OrderUserMerchantMappingMapper;
import com.richest.api.service.IOrderUserMerchantMappingService;
import com.richest.bean.OrderUserMerchantMappingBean;

/**
 * 子订单用户和商家映射信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class OrderUserMerchantMappingServiceImpl implements IOrderUserMerchantMappingService {

	@Autowired
	private OrderUserMerchantMappingMapper mapper;

	@Override
	public OrderUserMerchantMappingBean orderUserMerchantMappingSelectOne(Long id) {
		return mapper.orderUserMerchantMappingSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> orderUserMerchantMappingSelectMap(Map<String, Object> params) {
		return mapper.orderUserMerchantMappingSelectMap(params);
	}
}
